package com.erp.sys.pojo;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@AllArgsConstructor
@Accessors(chain = true)
@TableName(value = "sys_permission")
public class Permission implements Serializable {

    //@TableField(exist = false)
    //private static final long serialVersionUID=1L;

   // @TableId(type = IdType.AUTO)
    private  Integer id;

    private Integer pid;  // 父级编号
    private String type;  // 权限  菜单
    private String percode;
    private String icon;
    private String href;
    private String target;
    private String title;
    private int open;
    private  int ordernum;
    private int available;
    //private Date createTime;






  //  @TableField(exist = false)
   // private String p_title;  // 父级名称



}
